package com.grouponmall.model;

import java.util.Date;

/**
 * @author xueqiang.mi
 * @since 2010-6-2
 */
public class Deal {
	private long id;
	private String city;
	private String title;
	private String description;
	private String link;
	private String retailValue;
	private String discount;
	private String price;
	private String timeStart;
	private String timeEnd;
	private String timeLeft;
	private String image;
	private String source;
	private Date createdDate;
	private boolean onlineDeal;

	public Deal() {
	}

	public String getCity() {
		return city;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public String getDescription() {
		return description;
	}

	public String getDiscount() {
		return discount;
	}

	public long getId() {
		return id;
	}

	public String getImage() {
		return image;
	}

	public String getLink() {
		return link;
	}

	public String getPrice() {
		return price;
	}

	public String getRetailValue() {
		return retailValue;
	}

	public String getSource() {
		return source;
	}

	public String getTimeEnd() {
		return timeEnd;
	}

	public String getTimeLeft() {
		return timeLeft;
	}

	public String getTimeStart() {
		return timeStart;
	}

	public String getTitle() {
		return title;
	}

	public boolean isOnlineDeal() {
		return onlineDeal;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public void setDiscount(String discount) {
		this.discount = discount;
	}

	public void setId(long id) {
		this.id = id;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public void setOnlineDeal(boolean onlineDeal) {
		this.onlineDeal = onlineDeal;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public void setRetailValue(String retailValue) {
		this.retailValue = retailValue;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public void setTimeEnd(String timeEnd) {
		this.timeEnd = timeEnd;
	}

	public void setTimeLeft(String timeLeft) {
		this.timeLeft = timeLeft;
	}

	public void setTimeStart(String timeStart) {
		this.timeStart = timeStart;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String toString() {
		return "Deal [city=" + city + ", source=" + source + ", id=" + id
				+ ", title=" + title + "]";
	}

}
